import type { NextPage } from 'next'
import {
  FieldTimeOutlined, FolderOpenOutlined
} from '@ant-design/icons';
import styles from '../styles/module/index.module.less'
const iconStyle: React.CSSProperties = {
  fontSize: "20px",
  paddingRight: "5px"
};
const Home: NextPage = () => {
  return (
    <div className={styles.posts}>
      <div className={styles.postsItem}>
        <h2>
          <a>JavaScript面试题：new具体做了什么？</a>
        </h2>
        <p>
          一、new是什么
          案例1:创建一个给定构造函数的实例对象...
        </p>
        <p className={styles.postMeta}>
          <FieldTimeOutlined style={iconStyle} /><span style={{ paddingRight: "20px" }}>2021-12-03</span>
          <FolderOpenOutlined style={iconStyle} /><span>JavaScript面试题</span>
        </p>
      </div>
    </div>
  )
}

export default Home